package com.iraeta.dao.main.basic;

import com.iraeta.entity.main.Oadanganrenyuan;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OadanganrenyuanDao {
    int insert(Oadanganrenyuan record);
    int updateByPrimaryKey(Oadanganrenyuan record);
    Oadanganrenyuan selectByPrimaryKey(Integer id);
    Oadanganrenyuan selectByRenYuanId(@Param("renYuanId") String renYuanId);
    List<Oadanganrenyuan> selectByCondition(@Param("idCard") String idCard, @Param("name") String name);
}